<%@taglib uri="/struts-tags" prefix="s" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    
    <s:include value="Commun/EnTete.jsp"/>
    
    <body>
        
        <s:include value="Commun/MenuAdmin.jsp"/>

        <s:div cssClass="main">
            <s:div cssClass="container">
                <s:div cssClass="row">
                    <s:div cssClass="span8">      		
                        <s:div cssClass="widget stacked ">
                            <s:div cssClass="widget-header">
                                <i class="icon-user"></i>
                                <h3><s:property value="#session.prenom"/> <s:property value="#session.nom"/></h3>
                            </s:div>

                            <s:div cssClass="widget-content">
                                <s:div cssClass="tabbable">
                                    <ul class="nav nav-tabs">
                                        <li >
                                            <s:a href="#profile" data-toggle="tab"><s:text name="onglet.profil"></s:text></s:a>
                                            </li>
                                            <li class="active"><s:a href="#settings" data-toggle="tab"><s:text name="onglet.experiencePro"></s:text></s:a></li>
                                       
                                        </ul>
                                        <br>
                                    <s:div cssClass="tab-content">
                                        
                                        <s:include value="Commun/OngletProfilPersonne"/>

                                        
                                        <s:div cssClass="tab-pane active" id="settings">
                                            <s:form action="insererProfessionAdmin" method="post" validate="true">
                                                <fieldset>
                                                    <s:div cssClass="login-fields">
                                                        <p><s:text name="label.renseignerChamps"></s:text> </p>
                                                        <input type="hidden" id="idPersonne"name="idPersonne" value="<s:property value="#session.idPersonne"/>">
                                                        <s:div cssClass="field">
                                                            <label for="nomEntreprise"><s:text name="label.nomEntreprise"></s:text></label>
                                                            <input type="text" id="nomEntreprise" name="nomEntreprise" value="" placeholder="<s:text name="label.nomEntreprise"/>" class="login username-field" />
                                                            <s:fielderror fieldName="nomEntreprise" />
                                                        </s:div>
                                                        <s:div cssClass="field">
                                                            <label for="poste"><s:text name="label.poste"></s:text></label>
                                                                <input type="text" id="poste" name="poste" value="" placeholder="<s:text name="label.poste"/>" class="login username-field" />
                                                            <s:fielderror fieldName="poste" />
                                                        </s:div>
                                                        <s:div cssClass="field">
                                                            <label for="dateDebut"><s:text name="label.anneeDebut"></s:text></label>
                                                                <input type="text" id="dateDebut" name="dateDebut" value="" placeholder="<s:text name="label.anneeDebutFormat"/>" class="login username-field" />
                                                            <s:fielderror fieldName="dateDebut" />
                                                        </s:div>
                                                        <s:div cssClass="field">
                                                            <label for="dateFin"><s:text name="label.anneeFin"></s:text></label>
                                                                <input type="text" id="dateFin" name="dateFin" value="" placeholder="<s:text name="label.anneeFinFormat"/>" class="login username-field" />
                                                        </s:div>
                                                        <s:div cssClass="field">
                                                            <label for="salaire"><s:text name="label.salaire"></s:text></label>
                                                                <input type="text" id="salaire" name="salaire" value="" placeholder="<s:text name="label.salaire"/>" class="login username-field" />
                                                            <s:fielderror fieldName="salaire" />
                                                        </s:div>

                                                    </s:div> 
                                                    <s:div cssClass="form-actions">
                                                        <button type="submit" class="btn btn-primary"><s:text name="bouton.ajouter"></s:text></button>
                                                        <a class="btn"  href="<s:url action="AccueilAdmin"/>"><s:text name="bouton.annuler"></s:text></a>
        
                                                        </s:div>
                                                </fieldset>
                                            </s:form>
                                        </s:div> 
                                        
                                        
                                         
                                    </s:div>             
                                </s:div>
                            </s:div>
                        </s:div>
                    </s:div> 



                                      <s:include value="Commun/ListeArticlesAdmin.jsp"/>
                </s:div> 
            </s:div>
        </s:div> 
        <s:include value="Commun/Footer.jsp"/> 
    </body>
</html>
